#ifndef PSGLOBJECT_H
#define PSGLOBJECT_H

#include <QtGui>
#include <QtOpenGL>
#include <Point3D.h>

class PSGLObject
{
    public:
    QVector<Point3D> trajectory;
    GLfloat xTra, yTra, zTra, xRot, yRot, zRot, nSca;
    GLfloat cr, cg, cb, ca;
    QString name;

    PSGLObject();
    PSGLObject(QString p_name, QVector<Point3D> p_trajectory, GLfloat p_nSca, GLfloat p_cr, GLfloat p_cg, GLfloat p_cb, GLfloat p_ca);
    void render();
    void renderText();
    void render(GLuint frameNumber);
    void renderText(GLuint frameNumber);
    void renderTrajectory();

};

#endif // PSGLOBJECT_H
